package by.grsu.samusev.table;

import java.util.ArrayList;

import com.epam.grsulab.webapi.table.AbstractTable;
import java.util.List;
import by.grsu.samusev.entity.Driver;

public class DriverTable extends AbstractTable<Driver>{
	private List<Driver> drivers;

	@Override
	public List<Driver> getRows() {
		if (drivers == null) {
			drivers = new ArrayList<Driver>();
		}
		return drivers;
	}

	@Override
	public void setRows(List<Driver> rows) {
		this.drivers=rows;
		
	}
}
